const myObj = {
	a: 1,
	b: [1, 2, {
			c: true
		},
		[3]
	],
	d: {
		e: 2,
		f: 3
	},
	g: null,
	like: [6, 8, 9]
}
const result = Object.keys(myObj).reduce(function(preval, curval) {
	return preval.concat(curval, myObj[curval]);
}, []);
console.log(result)
